//管控中心下所有的api
import { get, post } from "@/utils/http";
export const riskSocApi = (params) => post("/service/seceval/risk/soc", params); //同步漏洞平台
export const riskDetailApi = (params) => get("/service/seceval/risk/detail", params); //风险详情
export const riskHoleStatusApi = (params) => post("/service/seceval/risk/holeStatus", params); //同步工单状态（复核）
export const riskListApi = (params) => post("/service/seceval/risk/list", params); //风险列表
export const riskMisreportApi = (params) => post("/service/seceval/risk/misreport", params); //设置误报
export const saveRiskItemApi = (params) => post("/service/seceval/risk/saveRiskItem", params); //添加监控指标
export const indexNameApi = (params) => get("/manager/config/item/list_all_tiny_item", params); //获取管控中心下，多选列表
/**
 * @url:/service/seceval/risk/save
 * @param {string} :id:风险id
 * @param {string} :level:风险等级
 * @param {string} :holeDetail:风险描述
 */
export const riskLevelSaveApi = (params) => post("/service/seceval/risk/save", params); //风险等级的保存
